﻿using System;

namespace PropertyExpression.ControllableQuery.Test
{
    public partial class PartLinkQuery : IQuery<IPartLinkInfo>
    {
        private readonly Action<Action<bool, IParam<string>, IParam<Guid>>> innerPartLinkSwitcher;
        private readonly IParam<Guid> billOfMaterialsHeaderId;
        private readonly IParam<Guid> modelPublicationId;
        private readonly IParam<Guid> servicePartsPageId;

        public PartLinkQuery(
            Action<Action<bool, IParam<string>, IParam<Guid>>> innerPartLinkSwitcher,
            IParam<Guid> billOfMaterialsHeaderId,
            IParam<Guid> modelPublicationId,
            IParam<Guid> servicePartsPageId)
        {
            this.innerPartLinkSwitcher = innerPartLinkSwitcher;
            this.billOfMaterialsHeaderId = billOfMaterialsHeaderId;
            this.modelPublicationId = modelPublicationId;
            this.servicePartsPageId = servicePartsPageId;
        }
    }

    public interface IPartLinkInfo
    {
        string PartNumber { get; }
    }
}
